<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <meta name="keywords" content="互联网信息安全技术手段公共服务平台" />
  <meta name="description" content="互联网信息安全技术手段公共服务平台" />
  <title>互联网信息安全技术手段公共服务平台</title>
  <link rel="stylesheet" href="static/css/bootstrap.min.css" />
  <link rel="stylesheet" href="static/css/mycss.css">
  <link rel="stylesheet" href="static/css/style.css">
  <script src="static/js/jquery-3.2.1.min.js"></script>
  <script type="text/javascript" src="static/js/jquery.cookie.js"></script>
  <script src="static/js/jquery.easings.min.js"></script>
  <script src="static/js/laydate/laydate.js"></script>
  <script src="static/js/lodash.js"></script>
  <script src="static/js/bootstrap.min.js"></script>
  <script src="static/js/bootstrap-paginator.js"></script>
  <script src="static/plugins/layer-v1.9.0/layer/layer.js"></script>
</head>

<body>
  <div class="center" id="center">
  	 <h3>CDN业务信安系统评测记录</h3>
    <div class="btn-box">
      <button type="button" class="btn btn-default" data-toggle="modal" data-target="#back" name="btn_1" style="display:none;">
        <span class="glyphicon glyphicon-edit" aria-hidden="true"></span>退回补正
      </button>
      <button type="button" class="btn btn-default" onclick="operation(5)" name="btn_2" style="display:none;">
        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>评测通过
      </button>
      <button type="button" class="btn btn-default" name="btn_3" style="display:none;" data-toggle="modal" data-target="#notAdopt">
        <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>评测未通过
      </button>
      <button type="button" class="btn btn-default" onclick="backView()" name="btn_5" style="display:none;">
        <span class="glyphicon glyphicon-saved" aria-hidden="true"></span>暂存
      </button>
      <button type="button" class="btn btn-default" onclick="backView()" name="btn_4" >
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>返回
      </button>
            <button type="button" class="btn btn-default" onclick="All_pass_or_no(1)" name="btn_6" style="display:none;padding-left: 30px">
        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>全部通过
      </button>
      <button type="button" class="btn btn-default" onclick="All_pass_or_no(2)" name="btn_7" style="display:none;padding-left: 30px">
        <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>全部未通过
      </button>
    </div>
    <form class="test-table" id="queryForm">
    <input type="hidden" name="businessType" value="4">
     <input type="hidden" id="type" name="type" value="${type}"/>
     <input type="hidden" id="statue" name="statue" value="${statue}"/>
     <input type="hidden" id="btnName" name="btnName">
   	 <input type="hidden" id="singleTaskId" name="singleTaskId" value="${singleTaskId}"/>
   	 <input type="hidden" id="backViewType" value="${backViewType}"/>
   	 <input type="hidden" id="userId" value="${userId}"/>
      <h4 class="test-title">功能与性能部分评测项目</h4>
      <div class="table-responsive">
        <table class="table table-bordered">
          <thead>
            <tr>
              <th width="45">序号</th>
              <th>评测大项</th>
              <th>评测项目</th>
              <th>评测结果</th>
              <th>涉及测试标准编号</th>
            </tr>
          </thead>
          <tbody id="tread1"></tbody>
        </table>
      </div>
      <h4 class="test-title">系统对接部分评测项目</h4>
      <div class="table-responsive">
        <table class="table table-bordered">
          <thead>
            <tr>
              <th width="45">序号</th>
              <th>评测大项</th>
              <th>评测项目</th>
              <th>涉及测试标准编号</th>
              <th>接口对接评测结果</th>
              <th>功能互通评测结果</th>
            </tr>
          </thead>
          <tbody id="tread2"></tbody>
        </table>
      </div>
      <div class="promise-box">
        <h4 class="test-title">承诺</h4>
        <p>企业侧系统功能和性能现场评测通过后，企业按要求与电信监管系统进行接口对接，实现企业数据能正常上报至电信监管系统，并承诺以下几点：</p>
        <ul>
          <li>1、严格按照CDN相关技术规范进行数据填写和上报；</li>
          <li>2、确保上报数据的有效性和准确性；</li>
          <li>3、确保系统对接的稳定性。</li>
        </ul>
        <p>企业侧系统与电信监管系统对接后，如果发现系统存在错误数据、失效数据、接口异常等情况，本次评测不通过。</p>
      </div>
    </form>
    <div class="btn-box">
      <button type="button" class="btn btn-default" data-toggle="modal" data-target="#back" name="btn_1" style="display:none;">
        <span class="glyphicon glyphicon-edit" aria-hidden="true"></span>退回补正
      </button>
      <button type="button" class="btn btn-default" onclick="operation(5)" name="btn_2" style="display:none;">
        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>评测通过
      </button>
      <button type="button" class="btn btn-default" name="btn_3" style="display:none;" data-toggle="modal" data-target="#notAdopt">
        <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>评测未通过
      </button>
      <button type="button" class="btn btn-default" onclick="backView()" name="btn_5" style="display:none;">
        <span class="glyphicon glyphicon-saved" aria-hidden="true"></span>暂存
      </button>
      <button type="button" class="btn btn-default" onclick="backView()" name="btn_4" >
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>返回
      </button>
            <button type="button" class="btn btn-default" onclick="All_pass_or_no(1)" name="btn_6" style="display:none;padding-left: 30px">
        <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>全部通过
      </button>
      <button type="button" class="btn btn-default" onclick="All_pass_or_no(2)" name="btn_7" style="display:none;padding-left: 30px">
        <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>全部未通过
      </button>
    </div>
    <br/><br/><br/>
  </div>
  <div class="modal fade has-header" id="back" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
          <h4 class="modal-title">退回补正</h4>
        </div>
        <div class="modal-body">
          <form class="form-horizontal">
            <div class="form-group">
              <label for="backReason" class="col-sm-3 control-label">退回原因：</label>
              <div class="col-sm-9">
                <textarea class="form-control" rows="3" id="backReason"></textarea>
              </div>
            </div>
            <div class="modal-footer-backBtn col-sm-offset-3">
              <button type="button" class="btn btn-primary" onclick="operation(7)">确定</button>
              <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
  
  <!-- 评测不通过 -->
  <div class="modal fade has-header" id="notAdopt" tabindex="-1" role="dialog">
    <div class="modal-dialog" role="document">
      <div class="modal-content">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal" aria-label="Close">
            <span aria-hidden="true">&times;</span>
          </button>
          <h4 class="modal-title">评测不通过</h4>
        </div>
        <div class="modal-body">
          <form class="form-horizontal">
            <div class="form-group">
              <label for="notReason" class="col-sm-3 control-label">不通过原因：</label>
              <div class="col-sm-9">
                <textarea class="form-control" rows="3" id="notReason"></textarea>
              </div>
            </div>
            <div class="modal-footer-backBtn col-sm-offset-3">
              <button type="button" class="btn btn-primary" onclick="operation(6)">确定</button>
              <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
  
  <script type="text/template" id="treadTpl1">
    <tr>
      <td class="serial-num">
        <span>
          <%= index %>
        </span>
      </td>
      <%= name %>
        <td>
          <%= subName %>
        </td>

        <td>
          <div class="form-group">
            <label class="radio-inline">
              <input type="radio" name="result_fun_<%= resultName%>" allpass value="1" onclick="handle(<%= resultName%>, 1, 'fun')"> 通过
            </label>
            <label class="radio-inline">
              <input type="radio" name='result_fun_<%= resultName%>' allnotpass value="2" onclick="handle(<%= resultName%>, 2, 'fun')"> 未通过
            </label>
          </div>
			<textarea id="reason_fun_<%= resultName%>" onblur="upReason(<%= resultName%>,this.value, 'fun')" placeholder="不通过原因" style="display:none;"></textarea>
			<input type="hidden" id="name_<%= resultName%>" value="<%= parentSubName%>">
			<input type="hidden" id="subName_<%= resultName%>" value="<%= subName%>">
			<input type="hidden" id="evalNum_<%= resultName%>" value="<%= num%>">
        </td>
        <td>
          <%= num %>
        </td>
    </tr>
  </script>
  <script type="text/template" id="treadTpl2">
    <tr>
      <td class="serial-num">
        <span>
          <%= index %>
        </span>
      </td>
      <%= name %>
        <td>
          <%= subName %>
        </td>
        <td>
          <%= num %>
        </td>
        <td>
          <div class="form-group">
            <label class="radio-inline">
              <input type="radio" name="result_int_<%= radioName1%>" allpass1 value="1" onclick="handle(<%= radioName1%>, 1, 'int')"> 通过
            </label>
            <label class="radio-inline">
              <input type="radio" name="result_int_<%= radioName1%>" allnotpass1 value="2" onclick="handle(<%= radioName1%>, 2, 'int')"> 未通过
            </label>
          </div>
			<textarea id="reason_int_<%= radioName1%>" placeholder="不通过原因" onblur="upReason(<%= radioName1%>,this.value, 'int')" style="display:none;"></textarea>
        </td>
        <td>
          <div class="form-group">
            <label class="radio-inline">
              <input type="radio" name="result_data_<%= radioName2%>" allpass2 value="1" onclick="handle(<%= radioName2%>, 1, 'data')"> 通过
            </label>
            <label class="radio-inline">
              <input type="radio" name="result_data_<%= radioName2%>" allnotpass2 value="2" onclick="handle(<%= radioName2%>, 2, 'data')"> 未通过
            </label>
          </div>
			<textarea id="reason_data_<%= radioName2%>" placeholder="不通过原因" onblur="upReason(<%= radioName2%>,this.value, 'data')" style="display:none;"></textarea>
			<input type="hidden" id="name_<%= radioName2%>" value="<%= parentSubName%>">
			<input type="hidden" id="subName_<%= radioName2%>" value="<%= subName%>">
			<input type="hidden" id="evalNum_<%= radioName2%>" value="<%= num%>">
        </td>
    </tr>
  </script>
  <script>
    $(function () {
      var tread1 = [{
          name: "<td rowspan='9' class='td-info'>基础数据本地管理</td>",
          parentSubName: "基础数据本地管理",
          subName: '经营单位信息本地添加',
          resultName: '1',
          num: '1'
        },
        {
          name: "",
          parentSubName: "基础数据本地管理",
          subName: '业务客户数据本地添加',
          resultName: '2',
          num: '2-4'
        },
        {
          name: "",
          parentSubName: "基础数据本地管理",
          subName: '业务资源数据本地添加',
          resultName: '3',
          num: '5-10'
        },
        {
          name: "",
          parentSubName: "基础数据本地管理",
          subName: '经营单位信息本地修改',
          resultName: '4',
          num: '11'
        },
        {
          name: "",
          parentSubName: "基础数据本地管理",
          subName: '业务客户数据本地修改',
          resultName: '5',
          num: '12-14'
        },
        {
          name: "",
          parentSubName: "基础数据本地管理",
          subName: '业务资源数据本地修改',
          resultName: '6',
          num: '15-20'
        },
        {
          name: "",
          parentSubName: "基础数据本地管理",
          subName: '业务客户数据本地删除',
          resultName: '7',
          num: '21-23'
        },
        {
          name: "",
          parentSubName: "基础数据本地管理",
          subName: '业务资源数据本地删除',
          resultName: '8',
          num: '24-29'
        },
        {
          name: "",
          parentSubName: "基础数据本地管理",
          subName: '基础数据本地导入',
          resultName: '9',
          num: '30'
        },
        {
          name: "<td class='td-info'>业务状态监测记录本地管理</td>",
          parentSubName: "业务状态监测记录本地管理",
          subName: '活跃资源监测记录本地内容监测',
          resultName: '10',
          num: '31'
        },
        {
          name: "<td rowspan='13' class='td-info'>信息安全监测与处置</td>",
          parentSubName: "信息安全监测与处置",
          subName: '违法违规网站监测功能',
          resultName: '11',
          num: '32'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法违规网站监测记录内容',
          resultName: '12',
          num: '33'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法违规网站处置功能',
          resultName: '13',
          num: '34'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法违规网站处置记录内容',
          resultName: '14',
          num: '35'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法信息监测发现功能（域名）',
          resultName: '15',
          num: '36'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法信息监测发现功能（URL）',
          resultName: '16',
          num: '37'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法信息监测发现功能（关键词）',
          resultName: '17',
          num: '38'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法信息监测记录内容',
          resultName: '18',
          num: '39'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法信息过滤处置功能（域名）',
          resultName: '19',
          num: '40'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法信息过滤处置功能（URL）',
          resultName: '20',
          num: '41'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法信息过滤处置功能（关键词）',
          resultName: '21',
          num: '42'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '违法信息过滤记录内容',
          resultName: '22',
          num: '43'
        },
        {
          name: "",
          parentSubName: "信息安全监测与处置",
          subName: '规则优先级与冲突校验',
          resultName: '23',
          num: '44'
        },
        {
          name: "<td rowspan='3' class='td-info'>访问日志本地管理</td>",
          parentSubName: "访问日志本地管理",
          subName: '访问日志记录功能',
          resultName: '24',
          num: '45'
        },
        {
          name: "",
          parentSubName: "访问日志本地管理",
          subName: '访问日志记录内容',
          resultName: '25',
          num: '46'
        },
        {
          name: "",
          parentSubName: "访问日志本地管理",
          subName: '访问日志本地查询方式',
          resultName: '26',
          num: '47'
        },
        {
          name: "<td rowspan='4' class='td-info'>系统运维管理</td>",
          parentSubName: "系统运维管理",
          subName: '用户身份认证',
          resultName: '27',
          num: '48'
        },
        {
          name: "",
          parentSubName: "系统运维管理",
          subName: '用户权限划分',
          resultName: '28',
          num: '49'
        },
        {
          name: "",
          parentSubName: "系统运维管理",
          subName: '操作日志记录功能',
          resultName: '29',
          num: '50'
        },
        {
          name: "",
          parentSubName: "系统运维管理",
          subName: '运行维护管理测试',
          resultName: '30',
          num: '51'
        },
        {
          name: "<td rowspan='9' class='td-info'>处理能力</td>",
          parentSubName: "处理能力",
          subName: '信息安全规则容量',
          resultName: '31',
          num: '52'
        },
        {
          name: "",
          parentSubName: "处理能力",
          subName: '信息安全规则匹配准确率',
          resultName: '32',
          num: '53'
        },
        {
          name: "",
          parentSubName: "处理能力",
          subName: '信息安全记录查询响应时间',
          resultName: '33',
          num: '54'
        },
        {
          name: "",
          parentSubName: "处理能力",
          subName: '基础数据更新时间',
          resultName: '34',
          num: '55'
        },
        {
          name: "",
          parentSubName: "处理能力",
          subName: '基础数据查询响应时间',
          resultName: '35',
          num: '56'
        },
        {
          name: "",
          parentSubName: "处理能力",
          subName: '访问日志记录入库时间',
          resultName: '36',
          num: '57'
        },
        {
          name: "",
          parentSubName: "处理能力",
          subName: '访问日志查询响应时间',
          resultName: '37',
          num: '58'
        },
        {
          name: "",
          parentSubName: "处理能力",
          subName: '访问日志记录错漏率',
          resultName: '38',
          num: '59'
        },
        {
          name: "",
          parentSubName: "处理能力",
          subName: '活跃资源监测记录错漏率',
          resultName: '39',
          num: '60'
        },
        {
          name: "<td rowspan='2' class='td-info'>安全性</td>",
          parentSubName: "安全性",
          subName: '时钟同步',
          resultName: '40',
          num: '61'
        },
        {
          name: "",
          parentSubName: "安全性",
          subName: '数据备份与恢复',
          resultName: '41',
          num: '62'
        },
      ]
      var tread2 = [{
          name: "<td rowspan='9' class='td-info'>基础数据查询与上报</td>",
          parentSubName: "基础数据查询与上报",
          subName: '经营单位信息上报',
          num: '63',
          radioName1: '42',
          radioName2: '42'
        },
        {
          name: '',
          parentSubName: "基础数据查询与上报",
          subName: '业务客户数据上报',
          num: '64-65',
          radioName1: '43',
          radioName2: '43'
        },
        {
          name: '',
          parentSubName: "基础数据查询与上报",
          subName: '业务资源数据上报',
          num: '66-68',
          radioName1: '44',
          radioName2: '44'
        },
        {
          name: '',
          parentSubName: "基础数据查询与上报",
          subName: '经营单位信息修改与更新',
          num: '69',
          radioName1: '45',
          radioName2: '45'
        },
        {
          name: '',
          parentSubName: "基础数据查询与上报",
          subName: '业务客户数据修改与更新',
          num: '70-72',
          radioName1: '46',
          radioName2: '46'
        },
        {
          name: '',
          parentSubName: "基础数据查询与上报",
          subName: '业务资源数据修改与更新',
          num: '73-78',
          radioName1: '47',
          radioName2: '47'
        },
        {
          name: '',
          parentSubName: "基础数据查询与上报",
          subName: '业务客户数据删除上报',
          num: '79-81',
          radioName1: '48',
          radioName2: '48'
        },
        {
          name: '',
          parentSubName: "基础数据查询与上报",
          subName: '业务资源数据删除上报',
          num: '82-87',
          radioName1: '49',
          radioName2: '49'
        },
        {
          name: '',
          parentSubName: "基础数据查询与上报",
          subName: '业务客户数据查询上报',
          num: '88',
          radioName1: '50',
          radioName2: '50'
        },
        {
          name: "<td class='td-info'>业务状态监测记录上报</td>",
          parentSubName: "业务状态监测记录上报",
          subName: '活跃资源监测记录内容上报',
          num: '89',
          radioName1: '51',
          radioName2: '51'
        },
        {
          name: "<td rowspan='9' class='td-info'>信息安全记录上报</td>",
          parentSubName: "信息安全记录上报",
          subName: '违法违规网站列表下发',
          num: '90',
          radioName1: '52',
          radioName2: '52'
        },
        {
          name: "",
          parentSubName: "信息安全记录上报",
          subName: '违法违规网站处置记录上报',
          num: '91',
          radioName1: '53',
          radioName2: '53'
        },
        {
          name: "",
          parentSubName: "信息安全记录上报",
          subName: '违法信息监测指令下发',
          num: '92',
          radioName1: '54',
          radioName2: '54'
        },
        {
          name: "",
          parentSubName: "信息安全记录上报",
          subName: '违法信息监测记录上报',
          num: '93',
          radioName1: '55',
          radioName2: '55'
        },
        {
          name: "",
          parentSubName: "信息安全记录上报",
          subName: '违法信息过滤指令下发',
          num: '94',
          radioName1: '56',
          radioName2: '56'
        },
        {
          name: "",
          parentSubName: "信息安全记录上报",
          subName: '违法信息过滤记录上报',
          num: '95',
          radioName1: '57',
          radioName2: '57'
        },
        {
          name: "",
          parentSubName: "信息安全记录上报",
          subName: '违法信息过滤指管理指令申诉功能测试',
          num: '96',
          radioName1: '58',
          radioName2: '58'
        },
        {
          name: "",
          parentSubName: "信息安全记录上报",
          subName: '指令及结果可见性管理测试',
          num: '98',
          radioName1: '59',
          radioName2: '59'
        },
        {
          name: "",
          parentSubName: "信息安全记录上报",
          subName: '规则优先级与冲突校验',
          num: '97',
          radioName1: '60',
          radioName2: '60'
        },
        {
          name: "<td class='td-info'>访问日志查询上报</td>",
          parentSubName: "访问日志查询上报",
          subName: '访问日志查询与上报',
          num: '99',
          radioName1: '61',
          radioName2: '61'
        },
        {
          name: "<td rowspan='3' class='td-info'>疑似数据与异常数据上报</td>",
          parentSubName: "疑似数据与异常数据上报",
          subName: 'CDN疑似与异常数据推送测试',
          num: '100',
          radioName1: '62',
          radioName2: '62'
        },
        {
          name: "",
          parentSubName: "疑似数据与异常数据上报",
          subName: 'CDN疑似与异常数据反馈',
          num: '101',
          radioName1: '63',
          radioName2: '63'
        },
        {
          name: "",
          parentSubName: "疑似数据与异常数据上报",
          subName: 'CDN疑似与异常数据反馈处理结果',
          num: '102',
          radioName1: '64',
          radioName2: '64'
        },
        {
          name: "<td rowspan='9' class='td-info'>处理能力及可靠性</td>",
          parentSubName: "处理能力及可靠性",
          subName: '信息安全规则容量',
          num: '103',
          radioName1: '65',
          radioName2: '65'
        },
        {
          name: "",
          parentSubName: "处理能力及可靠性",
          subName: '基础数据更新时间',
          num: '104',
          radioName1: '66',
          radioName2: '66'
        },
        {
          name: "",
          parentSubName: "处理能力及可靠性",
          subName: '基础数据查询响应时间',
          num: '105',
          radioName1: '67',
          radioName2: '67'
        },
        {
          name: "",
          parentSubName: "处理能力及可靠性",
          subName: '访问日志记录入库时间',
          num: '106',
          radioName1: '68',
          radioName2: '68'
        },
        {
          name: "",
          parentSubName: "处理能力及可靠性",
          subName: '访问日志查询响应时间',
          num: '107',
          radioName1: '69',
          radioName2: '69'
        },
        {
          name: "",
          parentSubName: "处理能力及可靠性",
          subName: '访问日志记录错漏率',
          num: '108',
          radioName1: '70',
          radioName2: '70'
        },
        {
          name: "",
          parentSubName: "处理能力及可靠性",
          subName: '活跃资源监测记录错漏率',
          num: '109',
          radioName1: '71',
          radioName2: '71'
        },
        {
          name: "",
          parentSubName: "处理能力及可靠性",
          subName: '活动状态上报测试',
          num: '110',
          radioName1: '72',
          radioName2: '72'
        },
        {
          name: "",
          parentSubName: "处理能力及可靠性",
          subName: '时钟同步测试',
          num: '111',
          radioName1: '73',
          radioName2: '73'
        },
      ]
      insertInfoTpl(tread1, $('#tread1'), $('#treadTpl1'));
      insertInfoTpl(tread2, $('#tread2'), $('#treadTpl2'));
      query();
    });

    // [insertInfoTpl 插入 html信息]
    //  @param  {[type]} data [渲染所需的数据]
    //  @param  {[type]} dom  [加入页面中的哪个DOM节点]
    //  @return {[type]}      [description]

    function insertInfoTpl(data, dom, tpl) {
      var infoTpl = tpl.html();
      var compiled = _.template(infoTpl);
      var html = '';
      _.forEach(data, function (item, index) {
        item.index = index + 1;
        // console.log(item, index)
        html += compiled(item);
      })
      dom.append($(html));
    }

  </script>
</body>
<script src="static/js/module/evalProjectCdn.js" charset="utf-8" type="text/javascript"></script>
</html>